#!/bin/python

import init 
import config
config.init()

from pynput.keyboard import Listener
from keyboard import on_press, on_release 

config.vehicle = init.init()
print("Vehicle is ready")

listener = Listener(
   on_press=on_press,
   on_release=on_release
)
listener.start()
listener.join()
